import sys
import multiprocessing
from PyQt6.QtWidgets import QApplication
from MyWindow import MyWindow

if __name__ == "__main__":
    multiprocessing.freeze_support()  # 为 Windows 系统确保子进程正常启动
    app = QApplication(sys.argv)
    window = MyWindow()
    window.show()
    sys.exit(app.exec())










